import useConnect from './useConnect';
const useLoading = (model) => {
  const loading = useConnect('loading');
  return loading.effects[model];
};
export default useLoading;
